package com.shuan.springboothello.config;

import lombok.Data;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * User: lu
 * Date: 2021/12/15
 * Time: 17:49
 * Version: 1.0
 * Modified By:
 * Description:
 */
@Configuration
@PropertySource("classpath:foo.properties")
@Data
public class PropertiesWithJavaConfig {

    String name;
}
